package top.juntower.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("游戏收藏")
public class GameCollection {
    @ApiModelProperty("收藏Id")
    private Integer cgId;
    @ApiModelProperty("用户Id")
    private Integer uId;
    @ApiModelProperty("游戏Id")
    private Integer giId;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @ApiModelProperty("添加时间")
    private Date cgTime;
    @ApiModelProperty("游戏名字")
    private String giName;
    @ApiModelProperty("游戏图片")
    private String giBackdrop;
}
